/**
 * @description 路由
 * @author simon@sayto.top
 * @date 2019-12-17
 */

import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    { path: '*', redirect: '/' }
  ]
})
